<template>
  <div v-loading="isLoading">
    <div class="drawerBox" style="max-height: 60vh; overflow: scroll;">
      <SettingConfig v-model:datas="formInline.details.data" :struct="formInline.details.struct">
      </SettingConfig>
    </div>
  </div>
</template>
<script setup lang="ts">
import SettingConfig from "@/components/SettingConfig/SettingConfig.vue";

type FormProps = {
  formInline: {
    aliass: any
    details: {
      data: any
      struct: any
    }
  },
  isLoading: boolean
}

const props = withDefaults(defineProps<FormProps>(), {
  formInline: {
    aliass: {},
    details: {
      data: {},
      struct: {}
    }
  },
  isLoading: false
});

</script>

<style scoped lang="scss">
// 去除滚动条显示
.drawerBox::-webkit-scrollbar {
  display: none
}
</style>
